<?php

namespace app\mall\ui\form;

/**
 * 运费模板表单
 */
class MallFreightTemplateForm
{
    public function name()
    {
        return [
            'type' => 'input',
            'title' => '模板名称',
            'field' => 'name',
        ];
    }

    public function first_num()
    {
        return [
            'type' => 'number',
            'title' => '_首件',
            'field' => 'first_num',
        ];
    }

    public function first_price()
    {
        return [
            'type' => 'number',
            'title' => '首件运费',
            'field' => 'first_price',
        ];
    }

    public function continue_num()
    {
        return [
            'type' => 'number',
            'title' => '_续件数量',
            'field' => 'continue_num',
        ];
    }

    public function continue_price()
    {
        return [
            'type' => 'input',
            'title' => '_续件运费',
            'field' => 'continue_price',
        ];
    }

    public function use_special()
    {
        return [
            'type' => 'input',
            'title' => '_是否启用指定条件包邮指定条件',
            'field' => 'use_special',
        ];
    }

    public function enable()
    {
        return [
            'type' => 'input',
            'title' => '是否启用',
            'field' => 'enable',
        ];
    }
}